Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Analog Video


VDGetHue

The VDGetHue function returns the current hue value. Hue is similar to the tint control on a television, and it is specified in degrees with complementary colors set 180 degrees apart (red is 0, green is +120, and blue is -120). Video digitizer components support hue values that range from 0 (-180 shift in hue) to 65,535 (+179 shift in hue),
where 32,767 represents a 0 shift in hue.

pascal VideoDigitizerError VDGetHue (VideoDigitizerComponent ci,
                                     unsigned short *hue);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
hue
Contains a pointer to an integer that is to receive the current hue value. The video digitizer component places the hue value into the field referred to by this parameter.
RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported
SEE ALSO
Your application can set the hue value by calling the VDSetHue function (described
in the previous section). To obtain the recommended hue value, your application can call the VDGetVideoDefaults function (described on page 8-66).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help